package com.apartment.sevice;

import com.apartment.data.entity.Comment;

import java.util.List;

/**
 * Author : xuzhiyong
 * Date : 2022/6/6 8:09
 */
public interface CommentService {
    List<Comment> findAll();

    List<Comment> findCommentByUserId(Integer id);

    boolean addComment(Comment comment);

    boolean deleteCommentById(Integer id);

    boolean updateComment(Comment comment);
}
